package com.scedu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

//开启监控
//服务端 springcloud-provider-dept-8001中的pom中必须有
//<!-- spring-boot-starter-actuator 完善监控信息-->
//<dependency>
//<groupId>org.springframework.boot</groupId>
//<artifactId>spring-boot-starter-actuator</artifactId>
//<version>${eureka.version}</version>
//</dependency>
@EnableHystrixDashboard
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class DeptConsumerDashboard_9001 {
    public static void main(String[] args) {
        SpringApplication.run(DeptConsumerDashboard_9001.class,args);
    }
}
